package com.china.springServer.desigen.factory.simple_facotry;

import com.china.springServer.desigen.factory.before.AmericanCoffee;
import com.china.springServer.desigen.factory.before.LatteCoffee;

public class CoffeeStore {


    public Coffee orderCoffee(String type) {
        SimpleCoffeeFactory coffeeFactory = new SimpleCoffeeFactory();
        return coffeeFactory.createCoffee(type);
    }
}
